//
//  MyInfoModel.m
//  JinFuThree
//
//  Created by 毛韶谦 on 2018/10/10.
//  Copyright © 2018年 毛韶谦. All rights reserved.
//

#import "MyInfoModel.h"

@implementation MyInfoModel

@end


@implementation MyInfoBasicsModel

- (void)setValue:(id)value forKey:(NSString *)key {
    
    if ([key isEqualToString:@"identityCardFrontImg"]) {
        
        self.identityCardFrontImg = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"identityCardNumber"]) {
        
        self.identityCardNumber = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"identityCardReverseImg"]) {
        
        self.identityCardReverseImg = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"identityCardTerm"]) {
        
        self.identityCardTerm = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"maritalId"]) {
        
        self.maritalId = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"residenceAddress"]) {
        
        self.residenceAddress = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"userName"]) {
        
        self.userName = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"maritalValue"]) {
        
        self.maritalValue = [NSString stringWithFormat:@"%@",value];
    }
}
@end

@implementation MyInfoAddressModel

- (void)setValue:(id)value forKey:(NSString *)key {
    
    if ([key isEqualToString:@"livingAddress"]) {
        
        self.livingAddress = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"livingCity"]) {
        
        self.livingCity = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"livingDistrict"]) {
        
        self.livingDistrict = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"livingProvince"]) {
        
        self.livingProvince = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"livingCityVal"]) {
        
        self.livingCityVal = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"livingDistrictVal"]) {
        
        self.livingDistrictVal = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"livingProvinceVal"]) {
        
        self.livingProvinceVal = [NSString stringWithFormat:@"%@",value];
    }
}

@end

@implementation MyInfoCompanyModel

- (void)setValue:(id)value forKey:(NSString *)key {
    
    if ([key isEqualToString:@"companyAddress"]) {
        
        self.companyAddress = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"companyName"]) {
        
        self.companyName = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"companyPhone"]) {
        
        self.companyPhone = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"monthlyIncome"]) {
        
        self.monthlyIncome = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"position"]) {
        
        self.position = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"sourceIncome"]) {
        
        self.sourceIncome = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"monthlyIncomeVal"]) {
        
        self.monthlyIncomeVal = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"sourceIncomeVal"]) {
        
        self.sourceIncomeVal = [NSString stringWithFormat:@"%@",value];
    }
}

@end

@implementation MyInfoEducationModel

- (void)setValue:(id)value forKey:(NSString *)key {
    
    if ([key isEqualToString:@"school"]) {
        
        self.school = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"graduationTime"]) {
        
        self.graduationTime = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"educationId"]) {
        
        self.educationId = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"educationIdVal"]) {
        
        self.educationIdVal = [NSString stringWithFormat:@"%@",value];
    }
}





@end


@implementation UserCompleteModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
};

@end
